// component/search-bar/search-bar.js
Component({
    /**
     * 组件的属性列表
     */
    properties: {

    },

    /**
     * 组件的初始数据
     */
    data: {
        isShowBg:true,
        wk:''
    },
    methods: {
        changeShowBg:function(event){
            this.setData({
                isShowBg:event.target.dataset.arg
            })
        },
        setWk(event){
            this.setData({
                wk:event.detail.value
            })
        }
    }
})
